home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group95b.txt / 000145_icon-group-sender _Tue Sep 5 12:52:00 1995.msg < prev    next >
Internet Message Format  |  1995-09-18  |  706b

  1. Received: by cheltenham.cs.arizona.edu; Tue, 5 Sep 1995 16:53:36 MST
  2. Message-Id: <199509051703.NAA11013@transfer.stratus.com>
  3. Date:           Tue, 5 Sep 95 12:52 EDT
  4. From: Steve_Graham@vos.stratus.com
  5. To: icon-group@cs.arizona.edu
  6. Cc: Steve_Graham@vos.stratus.com
  7. Subject:        Output files in Icon
  8. Errors-To: icon-group-errors@cs.arizona.edu
  9.  
  10. I am inexperienced in programming in Icon and I have a question.  How does
  11. one specify the file/device to which you are trying to output?  I figure that
  12. it must be something akin to what one does for input:
  13.  
  14.    in_file_num := open(in_file_name,"ru")
  15.    while read(in_file_num) ...
  16.  
  17. But I haven't made the transition yet.
  18.  
  19. Thanks in advance.
  20.